package IO流.字节;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;

public class 字节读取 {
    public static void main(String[] args) throws IOException {
        //1.创建文本读取的对象
        FileInputStream fis=new FileInputStream("F\\aaa\\a.txt");

        //2.读取数据
        int read = fis.read();
        int read1 = fis.read();
        System.out.println(read);
        System.out.println(read1);

        //3.释放资源
        fis.close();
    }
}
